package com.zm.se.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Borrow extends BaseEntity implements Serializable {

  private static final long serialVersionUID = -5881278419321573631L;
  private Integer id;
  private String empname;
  private String empnum;
  private String ename;
  private Integer enumber;
  private String unit;

  public String getUnit() {
    return unit;
  }

  public void setUnit(String unit) {
    this.unit = unit;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getEmpname() {
    return empname;
  }

  public void setEmpname(String empname) {
    this.empname = empname;
  }

  public String getEmpnum() {
    return empnum;
  }

  public void setEmpnum(String empnum) {
    this.empnum = empnum;
  }

  public String getEname() {
    return ename;
  }

  public void setEname(String ename) {
    this.ename = ename;
  }

  public Integer getEnumber() {
    return enumber;
  }

  public void setEnumber(Integer enumber) {
    this.enumber = enumber;
  }

  @Override
  public String toString() {
    return "Borrow{" +
            "id=" + id +
            ", empname='" + empname + '\'' +
            ", empnum='" + empnum + '\'' +
            ", ename='" + ename + '\'' +
            ", enumber=" + enumber +
            "} " + super.toString();
  }
}
